#include <iostream>
#include<vector>
#include <io.h>
#include <stddef.h>
#include <stdio.h>
#include <cmath>
#include <cstdlib>
#include <map>
#include <sstream>
#include <string>

#include "ConfigReader.h"
#include "Model.h"
#include "Util.h"
#include "opencv2/opencv.hpp"
#include "hpp/Util.hpp"
#include "FormatWapper.h"

using namespace std;
using namespace cv;

namespace service {
int box_width;
int box_height;
uchar* data;
string str_pt;
const char* str_pt_result;
IplImage* uu;
float dregee;
// 裁剪, 路径、单/多目标、测试窗口
void cut(const char* filepath, bool multiple, bool b1);
// 画框, 路径、单/多目标、测试窗口
uchar* box(const char* filepath, bool multiple, bool b1);
// bitmap，长，宽，步长，单/多目标，测试窗口
uchar* boxbm(uchar*c, int width, int height, int step, bool multiple, bool b1);

void cutpt(uchar* m, int width, int height, int step, const char* pt, const char* filepath);

void cutpt(const char* filepath, const char* pt, const char* outpath);
}
